package com.clwer.action;

import com.clwer.service.LoginServiceInterface;
import com.opensymphony.xwork2.ActionSupport;

/**
 * 
 *  用户登录  ACTION
 * 
 * @author lwcui
 *
 */
public class LoginAction extends ActionSupport {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private LoginServiceInterface loginService;

	public void setLoginService(LoginServiceInterface loginService) {
		this.loginService = loginService;
	}
	
	
	private String userName;
	private String passWord;
	
	

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPassWord() {
		return passWord;
	}

	public void setPassWord(String passWord) {
		this.passWord = passWord;
	}

	public String login(){
	
		System.out.println(userName);
		return "success";
	}
	

}
